package cn.wolfcode.car.base.mapper;

import cn.wolfcode.car.base.domain.Customer;
import cn.wolfcode.car.common.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {

    Customer queryById(Long id);

    List<Customer> selectAll();

    List<Customer> queryForList(QueryObject qo);

    void insert(Customer customer);

    void insertBatch(@Param("list") List<Customer> customer);

    void update(Customer customer);

    void deleteBatch(String[] ids);

}

